2 External-memory Model
نویسنده
چکیده
In a modern computer, the CPU operates on values in its registers, and can fetch values from main memory, usually via several layers of caches. Large files are stored on disk, and data is transferred from disk to main memory. The memory closest to the CPU is fastest but smallest, and the memory farthest from the CPU is largest but has the highest latency. Moreover, the slower layers of memory have greater parallelism: it takes about as long to fetch a consecutive kilobyte from disk as it does to fetch a single byte, since most of the cost is latency for the disk to find the right location. So we might as well always transfer a full block of data at a time; the slower layers of memory have larger block sizes. This prompts the need for algorithms and data structures that exploit locality of reference, arranging the layout of memory with data that is frequently accessed together placed in the same blocks, in order to minimize the number of blocks that need to be accessed.
منابع مشابه
On showing lower bounds for external-memory computational geometry problems
In this paper we consider lower bounds for external-memory computational geometry problems. We nd that it is not quite clear which model of computation to use when considering such problems. As an attempt of providing a model, we deene the external memory Turing machine model, and we derive lower bounds for a number of problems, including the element distinctness problem, in this model. For the...
متن کاملTight Bounds for Low Dimensional Star Stencils in the External Memory Model
Stencil computations on low dimensional grids are kernels of many scientific applications including finite difference methods used to solve partial differential equations. On typical modern computer architectures such stencil computations are limited by the performance of the memory subsystem, namely by the bandwidth between main memory and the cache. This work considers the computation of star...
متن کاملEfficient Algorithms and Data Structures for Massive Data Sets
For many algorithmic problems, traditional algorithms that optimise on the number of instructions executed prove expensive on I/Os. Novel and very different design techniques, when applied to these problems, can produce algorithms that are I/O efficient. This thesis adds to the growing chorus of such results. The computational models we use are the external memory model and the W-Stream model. ...
متن کاملModels of Computation External Memory, Cache-Oblivious, and Multi-Core Algorithms
1 External Memory Algorithms 2 1.1 Surveys and Books . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Own Papers on the Subject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 The Memory Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.4 The Parallel Disk Model of Aggarwal/Vitter . . . . . . . . . . ...
متن کاملExternal Memory Algorithms for String Problems
In this paper we present external memory algorithms for some string problems. External memory algorithms have been developed in many research areas, as the speed gap between fast internal memory and slow external memory continues to grow. The goal of external memory algorithms is to minimize the number of input/output operations between internal memory and external memory. These years the sizes...
متن کاملExternal Memory based Distributed Generation of Massive Scale Social Networks on Small Clusters
Small distributed systems are limited by their main memory to generate massively large graphs. Trivial extension to current graph generators to utilize external memory leads to large amount of random I/O hence do not scale with size. In this work we offer a technique to generate massive scale graphs on small cluster of compute nodes with limited main memory. We develop several distributed and e...
متن کامل